package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 修改会员用户状态接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-08
 */
public class MemberUserUpdateStatusVO implements Serializable {
    private static final long serialVersionUID = 5661595865020993828L;

    /**
     * 用户id
     */
    @NotNull
    @Positive(message = "用户id要大于0")
    private Long userId;

    /**
     * 状态， 0-禁用 1-启用
     */
    @NotNull(message = "状态取值 0-禁用 1-启用")
    @EnableDisableStatusAnno
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
